https://portal-sandbox.seapay.com.sa/api/v01/merchants/[merchant-code]/post-rules
Returns a set of rules to validate AVS/CSC response codes of a merchant or merchant account.
| Resource URL | Description |
|---|---|
| https://portal-sandbox.seapay.com.sa/api/v01/merchants/[merchant-code]/post-rules/[rule-id] | Post-Rule to validate AVS/CSC response codes |
| Method: GET | Implicit: No | Returns: ServiceResponse |
| Consumes: json, xml, xurl | Produces: json, xml, xurl | |
|
Copies the list of all available rules between selected merchants.
|
||
| Method: GET | Implicit: No | Returns: ServiceResponse |
| Consumes: json, xml, xurl | Produces: json, xml, xurl | |
|
Copies the list of all available rules between selected merchants.
|
||
| Method: POST | Implicit: Yes | Returns: PostRule |
| Consumes: json, xml, xurl | Produces: json, xml, xurl | |
|
Creates a new rule.
|
||
| Method: GET | Implicit: Yes | Returns: n/a |
| Consumes: json, xml, xurl | Produces: json, xml, xurl | |
|
Finds all rules defined for the merchant.
|
||
| # | Name | Type | Required | Default | Description |
|---|---|---|---|---|---|
| 01 | offset | Integer | No | 0 |
Index of the first record returned from the search result.\n\r\n> **Note:** Used with limit parameter for pagination. Use this field for implementing paginated results. |
| 02 | limit | Integer | No | 100 |
Maximum number of records to load per search call.\n\r\n> **Note:** Adjust based on performance requirements. Use this field to balance response size and performance. |
| Method: POST | Implicit: Yes | Returns: PostRule |
| Consumes: json, xml, xurl | Produces: json, xml, xurl | |
|
Allows to modify the post-rule for the merchant.
The used have to send the ID of the post-rule and fields that are to be changed in the request. |
||
| Method: POST | Implicit: Yes | Returns: PostRule |
| Consumes: json, xml, xurl | Produces: json, xml, xurl | |
|
Allows to change the execution priority of the post-rule.
|
||
| # | Name | Type | Required | Default | Description |
|---|---|---|---|---|---|
| 01 | value | String | Yes | - |
Parameter can take one of the following values:
highest - assignes a highest priority to the rule lowest - assignes a lowest priority to the rule +N - increases priority of the rule by N, where N is an integer value -N - decreases priority of the rule by N, where N is an integer value |